<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.printing.pretty.stringpict.stringPict&rdquo;</title>
        </head>
        <body><h1 class="class">Class s.p.p.s.stringPict(object):</h1><span id="part">Part of <a href="sympy.printing.pretty.stringpict.html">sympy.printing.pretty.stringpict</a></span><p>known subclasses: <a href="sympy.printing.pretty.stringpict.prettyForm.html">sympy.printing.pretty.stringpict.prettyForm</a></p><div class="toplevel"><div><p>A ASCII picture. The pictures are represented as a list of equal length 
strings.</p>
</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.__init__">__init__</a></td><td><div><p>Initialize from string.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.__len__ 0">__len__ 0</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.equalLengths">equalLengths</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.height">height</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.width">width</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.next">next</a></td><td><div><p>Put a string of stringPicts next to each other.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.right">right</a></td><td><div><p>Put pictures next to this one.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.left">left</a></td><td><div><p>Put pictures (left to right) at left.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.stack">stack</a></td><td><div><p>Put pictures on top of each other,</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.below">below</a></td><td><div><p>Put pictures under this picture.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.above">above</a></td><td><div><p>Put pictures above this picture.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.parens">parens</a></td><td><div><p>Put parentheses around self.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.leftslash">leftslash</a></td><td><div><p>Precede object by a slash of the proper size.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.root">root</a></td><td><div><p>Produce a nice root symbol.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.terminal_string">terminal_string</a></td><td><div><p>Return the string form of self such that it can be printed</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.__eq__">__eq__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.__str__">__str__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.__unicode__">__unicode__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.__repr__">__repr__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.__getitem__">__getitem__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.printing.pretty.stringpict.stringPict.__len__">__len__</a></td><td><span class="undocumented">Undocumented</span></td></tr></table>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.__init__">__init__(self, s, baseline=0):</a></div>
            <div class="functionBody"><div><p>Initialize from string. Multiline strings are centered.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.__len__ 0">__len__ 0(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.equalLengths">equalLengths(lines):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.height">height(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.width">width(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.next">next(*args):</a></div>
            <div class="functionBody"><div><p>Put a string of stringPicts next to each other. Returns string, baseline
arguments for stringPict.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.right">right(self, *args):</a></div>
            <div class="functionBody"><pre>Put pictures next to this one.
Returns string, baseline arguments for stringPict.
(Multiline) strings are allowed, and are given a baseline of 0.
>>> print stringPict("10").right(" + ",stringPict("1-2",1))[0]
     1
10 + -
     2</pre></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.left">left(self, *args):</a></div>
            <div class="functionBody"><div><p>Put pictures (left to right) at left. Returns string, baseline arguments
for stringPict.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.stack">stack(*args):</a></div>
            <div class="functionBody"><div><p>Put pictures on top of each other, from top to bottom. Returns string, 
baseline arguments for stringPict. The baseline is the baseline of the 
second picture. Everything is centered. Baseline is the baseline of the 
second picture. Strings are allowed. The special value stringPict.LINE is a
row of '-' extended to the width.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.below">below(self, *args):</a></div>
            <div class="functionBody"><pre>Put pictures under this picture.
Returns string, baseline arguments for stringPict.
Baseline is baseline of top picture
>>> print stringPict("x+3").below(stringPict.LINE, '3')[0] #doctest: +NORMALIZE_WHITESPACE
x+3
---
 3</pre></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.above">above(self, *args):</a></div>
            <div class="functionBody"><div><p>Put pictures above this picture. Returns string, baseline arguments for 
stringPict. Baseline is baseline of bottom picture.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.parens">parens(self, left='(', right=')', ifascii_nougly=False):</a></div>
            <div class="functionBody"><div><p>Put parentheses around self. Returns string, baseline arguments for 
stringPict.</p>
<p>left or right can be None or empty string which means 'no paren from 
that side'</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.leftslash">leftslash(self):</a></div>
            <div class="functionBody"><div><p>Precede object by a slash of the proper size.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.root">root(self, n=None):</a></div>
            <div class="functionBody"><div><p>Produce a nice root symbol. Produces ugly results for big n inserts.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.terminal_string">terminal_string(self):</a></div>
            <div class="functionBody"><div><p>Return the string form of self such that it can be printed on the 
terminal without being broken up.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.__eq__">__eq__(self, o):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.__str__">__str__(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.__unicode__">__unicode__(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.__repr__">__repr__(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.__getitem__">__getitem__(self, index):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.printing.pretty.stringpict.stringPict.__len__">__len__(self):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div></body>
        